package com.hw.blog.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hw.blog.persistence.PmgrMenuMapper;

@Service
public class PmgrMenuService {

	@Autowired
	public PmgrMenuMapper mapper;
	
	
	public int getMenuSeq() throws Exception {
		return mapper.getMenuSeq();
	}

	public int insertMenu(Map map) throws Exception {
		return mapper.insertMenu(map);
	}

	public int backupMenu(Map map) throws Exception {
		return mapper.backupMenu(map);
	}
	
	public int deleteMenu() throws Exception {
		return mapper.deleteMenu();
	}
	
	public String existsTable(Map map) throws Exception {
		return mapper.existsTable(map);
	
	}
	
	public void runStatement(Map map){
		mapper.runStatement(map);
	}


}
